package com.mali.common.web.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserDTO {
    @NotNull(message = "用户ID不能为空")
    private Long id;
    private String username;
    private Integer role;
    private String phone;
    private String email;
}
